﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Sonar
{
	public class FixedSoundSource : SoundSource
	{
		private double x;
		private double y;

		public FixedSoundSource(double x, double y)
		{
			this.x = x;
			this.y = y;
		}

		public FixedSoundSource(SoundSource soundSource)
		{
			this.x = soundSource.getX(1);
			this.y = soundSource.getY(1);
		}

		public double getX(double alpha)
		{
			return x;
		}

		public double getY(double alpha)
		{
			return y;
		}
	}
}